package com.tsd.jxc.stock.service;

import com.tsd.core.vo.PageBean;
import com.tsd.jxc.stock.entity.JxcStockOutbillLogistics;
import com.tsd.jxc.stock.entity.JxcStockOutbillLogisticsExt;
import com.tsd.system.entity.SysUser;

import java.util.List;
import java.util.Map;

/**
 * 描述：JxcStockOutbillLogistics服务实现层接口
 *
 * @author Hillpool
 * @date 2022/07/29 15:06:33
 */
public interface JxcStockOutbillLogisticsService {

    /**
     * 描述：根据id获取JxcStockOutbillLogistics
     *
     * @param id
     */
    JxcStockOutbillLogistics getJxcStockOutbillLogisticsById(Long id) throws Exception;

    /**
     * 描述：根据sid获取JxcStockOutbillLogistics
     *
     * @param sid
     */
    JxcStockOutbillLogisticsExt queryBySid(String sid) throws Exception;

    /**
     * 描述：根据sid列表删除JxcStockOutbillLogistics
     *
     * @param list
     */
    void deleteJxcStockOutbillLogisticss(List<String> list, SysUser opUser) throws Exception;

    /**
     * 描述：保存或更新JxcStockOutbillLogistics
     *
     * @param record
     * @param opUser
     */
    void saveJxcStockOutbillLogistics(JxcStockOutbillLogistics record, SysUser opUser) throws Exception;

    /**
     * 描述：根据params分页查询JxcStockOutbillLogistics
     *
     * @param params
     * @param page
     */
    List<JxcStockOutbillLogisticsExt> findJxcStockOutbillLogisticss(Map<String, Object> params, PageBean page) throws Exception;

    /**
     * 描述：根据params分页查询JxcStockOutbillLogistics
     *
     * @param params
     */
    List<JxcStockOutbillLogisticsExt> findJxcStockOutbillLogisticss(Map<String, Object> params) throws Exception;

    /**
     * 获取所有JxcStockOutbillLogistics
     */
    List<JxcStockOutbillLogisticsExt> getAllLogisticsByPage(Map<String, Object> params, PageBean page) throws Exception;

    /**
     * 描述：根据不同条件查询JxcStockOutbillLogistics
     *
     * @param params
     * @param page
     * @return
     * @throws Exception
     */
    List<JxcStockOutbillLogisticsExt> selectLogisticsByPage(Map<String, Object> params, PageBean page) throws Exception;

    JxcStockOutbillLogisticsExt queryLogisticsByOutbillSid(String outbill_sid) throws Exception;
}